<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>机器人列表</title>
</head>
<body>
<table>
    <tr>
        <th>微信号</th>
        <th>操作</th>
        <th>说明</th>
        <th>二维码</th>
        <th>报表</th>
    </tr>
    <tr th:each="o:${list}">
        <td th:text="${o.wxh}"></td>
        <td><a th:href="@{start(wxh=${o.wxh})}" target="_blank">启动</a></td>
        <td th:text="${o.remark}"></td>
        <td><img style="width: 200px;height: 200px;" th:src="@{'/temp/'+${o.wxh}+'/qr.png'}"/></td>
        <td><a th:href="@{report(wxh=${o.wxh})}" target="_blank">查看</a></td>
    </tr>
</table>
</body>
</html>
<script>
    setTimeout(function () {
        window.location.reload()
    }, 5000)
</script>